package com.lxyk.springcloud.dao;

import com.lxyk.springcloud.pojo.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**PaymentMapper.xml
 * @ClassName PaymentDao
 * @Description TODO
 * @Author ZJL
 * @Date 2022/4/10 21:24
 * @Version 1.0
 **/
@Mapper
@Repository
public interface PaymentDao {
    public int create(Payment payment);  //写操作
    public Payment getPaymentById(@Param("id") Long id);   //读操作
}
